﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SafeEducateAdd.aspx.cs"
    Inherits="TrafficArchives.SafeEducate.SafeEducateAdd" %>

<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">--%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/Page.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div style="width: 100%; height: 100%; background-color: white;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr style="background: url(../images/bt_bg.gif)">
                            <td width="12">
                                <img src="../images/bt_left.gif" width="12" height="28">
                            </td>
                            <td width="42" align="center">
                                <img src="../images/bt_title.gif">
                            </td>
                            <td style="font-size: 12px;">
                                <span class="style3">您当前的位置：</span><asp:Label ID="LblTitle" runat="server"></asp:Label>
                            </td>
                            <td width="51" id="sy">
                                <a href="../Reports/ArchivesOverview.aspx">首页</a>
                            </td>
                            <td width="12">
                                <img src="../images/bt_right.gif" width="12" height="28">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center" valign="top">
                    <asp:UpdatePanel ID="UpdatePanelCondition" UpdateMode="Conditional" runat="server">
                        <ContentTemplate>
                            <table id="TableQuery" runat="server" width="95%" border="0" cellspacing="1" cellpadding="0"
                                bgcolor="#CCCCCC">
                                <tr bgcolor="#FFFFFF">
                                    <td width="10%" height="30" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">身份证号：</span>
                                    </td>
                                    <td width="15%">
                                        <asp:TextBox ID="TxtIdentityNo" runat="server" Width="148"></asp:TextBox>
                                    </td>
                                    <td width="10%" align="right" bgcolor="#E4F1FD">
                                        <span class="style4">档案编号：</span>
                                    </td>
                                    <td width="15%" align="left">
                                        <asp:TextBox ID="TxtArchivesNo" runat="server" Width="148"></asp:TextBox>
                                    </td>
                                    <td width="50%" align="left">
                                        <div style="float: left;">
                                            <asp:Button ID="BtnQuery0" runat="server" CssClass="button" 
                                                OnClick="BtnQueryClicked" Text="查询" />
                                        </div>
                                        <div style="float: left;vertical-align: middle;">
                                            <asp:Label ID="TxtWebServiceMsg" runat="server" Font-Size="12px" 
                                                ForeColor="Red" Text="查询远程服务出错，请联系管理员。" Visible="False"></asp:Label>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    <table width="95%" border="0" cellspacing="0" cellpadding="0">
                        <tr bgcolor="#FFFFFF">
                            <td height="10" align="right">
                            </td>
                        </tr>
                    </table>
                    <!--安全教育begin-->
                    <asp:UpdatePanel ID="UpdatePanelForm" UpdateMode="Conditional" runat="server">
                        <ContentTemplate>
                            <table width="95%" border="0" cellpadding="0" cellspacing="1" bgcolor="#66a9ec" style="font-size: 12px;">
                                <tr style="background: url(../images/contentbg2.gif)">
                                    <td height="25" align="left" bgcolor="#dcebff" colspan="8">
                                        <span class="title_2">添加安全教育</span>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF" height="25" align="right">
                                    <td width="14%" bgcolor="#ecf5ff">
                                        姓名：
                                    </td>
                                    <td width="120px" align="left">
                                        <asp:Label ID="LblName" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td width="10%" bgcolor="#ecf5ff">
                                        性别：
                                    </td>
                                    <td width="120px" align="left">
                                        <asp:Label ID="LblSex" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td width="10%" bgcolor="#ecf5ff">
                                        证件名称：
                                    </td>
                                    <td width="120px" align="left">
                                        <asp:Label ID="LblIdentityType" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td width="10%" bgcolor="#ecf5ff">
                                        证件号码：
                                    </td>
                                    <td width="120px" align="left">
                                        <asp:Label ID="LblIdentityNo" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF" height="25" align="right">
                                    <td bgcolor="#ecf5ff">
                                        出生日期：
                                    </td>
                                    <td align="left">
                                        <asp:Label ID="LblBorthDay" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td bgcolor="#ecf5ff">
                                        档案编号：
                                    </td>
                                    <td align="left">
                                        <asp:Label ID="LblArchiveNo" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td bgcolor="#ecf5ff">
                                        初次领证日期：
                                    </td>
                                    <td align="left">
                                        <asp:Label ID="LblFirstLicensing" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td bgcolor="#ecf5ff">
                                        准驾车型：
                                    </td>
                                    <td align="left">
                                        <asp:Label ID="LblCarType" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF" height="25" align="right">
                                    <td bgcolor="#ecf5ff">
                                        驾驶证状态：
                                    </td>
                                    <td align="left">
                                        <asp:Label ID="LblDriverCardStatus" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td bgcolor="#ecf5ff">
                                        审验日期：
                                    </td>
                                    <td align="left">
                                        <asp:Label ID="LblAuditDate" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td bgcolor="#ecf5ff">
                                        管理部门：
                                    </td>
                                    <td colspan="3" align="left">
                                        <asp:Label ID="LblManageOrgan" runat="server" Text=""></asp:Label>
                                        <asp:HiddenField ID="LblManageOrganID" runat="server"/>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF" height="25" align="right">
                                    <td bgcolor="#ecf5ff">
                                        发证机关：
                                    </td>
                                    <td colspan="3" align="left">
                                        <asp:Label ID="LblLicensingOrgan" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td bgcolor="#ecf5ff">
                                        行政区划：
                                    </td>
                                    <td colspan="3" align="left">
                                        <asp:Label ID="LblAdminDivider" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF" height="25" align="right">
                                    <td bgcolor="#ecf5ff">
                                        培训日期：
                                    </td>
                                    <td bgcolor="#FFFFFF" colspan="3" align="left">
                                        <asp:Label ID="LblTrainDate" runat="server"></asp:Label>
                                    </td>
                                    <td bgcolor="#ecf5ff">
                                        培训地点：
                                    </td>
                                    <td colspan="3" align="left">
                                        <asp:TextBox ID="TxtTrainAddr" runat="server" CssClass="Wdate" Width="148"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="TxtTrainAddrValidator" runat="server" ControlToValidate="TxtTrainAddr"
                                            ErrorMessage="请输入培训地点。" ForeColor="Red"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF" height="25" align="right">
                                    <td bgcolor="#ecf5ff">
                                        教育员：
                                    </td>
                                    <td colspan="3" align="left" bgcolor="#FFFFFF">
                                        <asp:TextBox ID="TxtTecher" runat="server" CssClass="Wdate" Width="148"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="TxtTecherValidator" runat="server" ControlToValidate="TxtTecher"
                                            ErrorMessage="请输入教育员。" ForeColor="Red"></asp:RequiredFieldValidator>
                                    </td>
                                    <td bgcolor="#ecf5ff">
                                        培训原因：
                                    </td>
                                    <td align="left" colspan="3">
                                        <asp:DropDownList ID="DdlTrainReason" runat="server">
                                            <asp:ListItem Text="<请选择>" Value=""></asp:ListItem>
                                            <asp:ListItem Text="满12分教育" Value="满12分教育"></asp:ListItem>
                                            <asp:ListItem Text="违法教育" Value="违法教育"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF" height="50" align="center">
                                    <td bgcolor="#ecf5ff">
                                        内容：
                                    </td>
                                    <td colspan="7" align="left">
                                        <asp:TextBox ID="TxtContent" runat="server" Columns="115" MaxLength="200" Rows="4"
                                            TextMode="MultiLine"></asp:TextBox>
                                    </td>
                                    <td align="center" colspan="8" valign="middle">
                                       
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="8" style="background-color: white;height:30px;" valign="middle">
                                         <div style="width: 320px; vertical-align: middle;">
                                            <div id="DivSucess" runat="server" style="float: left; width: 80px; color: red; margin-top: 10px;"
                                                visible="False">
                                                保存成功。
                                            </div>
                                            <div id="DivSave" runat="server" style="float: left; width: 80px;">
                                                <asp:Button ID="BtnSave" runat="server" Enabled="False" CssClass="button" OnClick="BtnSaveClicked"
                                                    Text="保存" />
                                            </div>
                                            <div id="DivClear" runat="server" style="float: left; width: 80px;">
                                                <input id="button2" class="button" name="button2" onclick="javascript:resetinput();"
                                                    type="button" value="清空"> </input>
                                            </div>
                                            <div id="DivBack" runat="server" style="float: left; width: 80px;">
                                                <input id="Submit1" class="button" name="button2" onclick="javascript:history.go(-1);"
                                                    type="button" value="返回"> </input>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                    <!--安全教育over-->
                </td>
            </tr>
        </table>
    </div>
    <script type="text/javascript" language="javascript">
        function resetinput() {

            document.getElementById("<%=TxtTecher.ClientID %>").value = "";
            document.getElementById("<%=TxtTrainAddr.ClientID %>").value = "";
            document.getElementById("<%=TxtContent.ClientID %>").value = "";
        }
    </script>
    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
    </form>
</body>
</html>
